<div class="c_top">
    <div class="c_logo_top">
        <div>
            此处省略标题
        </div>
        <div class="c_top_nav">
            <ul>
                <li><a onclick="goIndex()">首页</a></li>
                <li><a>注册</a></li>
                <li><a>登录</a></li>
            </ul>
        </div>
    </div>
</div>

<script>
    function goIndex() {
        window.location.href = "${requestPrefix}/index"
    }
</script>

<style lang="scss">
    .c_top {
        width: 100%;
    }
    .c_logo_top {
        max-width: 1060px;
        min-width: 1060px;
        height: 50px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    .c_top_nav ul {
        display: flex;
        padding: 14px !important;
    }
    .c_top_nav ul li {
        padding-right: 12px;
        color: #555566;
    }
    .c_top_nav ul li a {
        color: #555555;
    }
    .c_top_nav ul li a:hover {
        cursor: pointer;
        color: #bbb;
    }
</style>